home *** CD-ROM | disk | FTP | other *** search
/ CD Fun House 1 / CD Fun House (Wayzata Technology).iso / •The School House• / QuizMaster v.10 ••• / QuizMaster V1.0 / QuizMaster V1.0.rsrc / CODE_1072_SetCreate.txt < prev    next >
Text File  |  1988-10-21  |  3KB  |  57 lines

  1. # near model CODE resource
  2. # jump table entries: 0-0 (1 of them)
  3. 00000000  4E54 FEB0                link       A4, -0x0150
  4. 00000004  4EAD 002A                jsr        [A5 + 0x2A /* export_1 */]
  5. 00000008  0C00 0002                cmpi.b     D0, 0x2
  6. 0000000C  6672                     bne        +0x74 /* 00000080 */
  7. 0000000E  264A                     movea.l    A3, A2
  8. 00000010  4EAD 0082                jsr        [A5 + 0x82 /* export_12 */]
  9. 00000014  4EAD 008A                jsr        [A5 + 0x8A /* export_13 */]
  10. 00000018  1942 FF00                move.b     [A4 - 0x100], D2
  11. 0000001C  43EC FF01                lea.l      A1, [A4 - 0xFF]
  12. 00000020  204B                     movea.l    A0, A3
  13. 00000022  4280                     clr.l      D0
  14. 00000024  1002                     move.b     D0, D2
  15. 00000026  A02E                     syscall    BlockMove/BlockMoveData
  16. 00000028  41EC FEB0                lea.l      A0, [A4 - 0x150]
  17. 0000002C  7014                     moveq.l    D0, 0x14
  18. 0000002E  6006                     bra        +0x8 /* 00000036 */
  19. label00000030:
  20. 00000030  20FC 0000 0000           move.l     [A0]+, 0x0
  21. label00000036:
  22. 00000036  51C8 FFF8                dbf        D0, -0xA /* 00000030 */
  23. 0000003A  41EC FF00                lea.l      A0, [A4 - 0x100]
  24. 0000003E  2948 FEC2                move.l     [A4 - 0x13E], A0
  25. 00000042  41EC FEB0                lea.l      A0, [A4 - 0x150]
  26. 00000046  A00C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo
  27. 00000048  4A40                     tst.w      D0
  28. 0000004A  663C                     bne        +0x3E /* 00000088 */
  29. 0000004C  4EAD 002A                jsr        [A5 + 0x2A /* export_1 */]
  30. 00000050  0C00 0002                cmpi.b     D0, 0x2
  31. 00000054  662A                     bne        +0x2C /* 00000080 */
  32. 00000056  264A                     movea.l    A3, A2
  33. 00000058  4EAD 0082                jsr        [A5 + 0x82 /* export_12 */]
  34. 0000005C  4EAD 008A                jsr        [A5 + 0x8A /* export_13 */]
  35. 00000060  0C02 0004                cmpi.b     D2, 0x4
  36. 00000064  6622                     bne        +0x24 /* 00000088 */
  37. 00000066  204B                     movea.l    A0, A3
  38. 00000068  43EC FED4                lea.l      A1, [A4 - 0x12C]
  39. 0000006C  7004                     moveq.l    D0, 0x04
  40. 0000006E  A02E                     syscall    BlockMove/BlockMoveData
  41. 00000070  41EC FEB0                lea.l      A0, [A4 - 0x150]
  42. 00000074  A00D                     syscall    SetFileInfo/PBHSetFInfo/HSetFileInfo
  43. 00000076  4A40                     tst.w      D0
  44. 00000078  660E                     bne        +0x10 /* 00000088 */
  45. 0000007A  4E5C                     unlink     A4
  46. 0000007C  7000                     moveq.l    D0, 0x00
  47. 0000007E  4E75                     rts
  48. label00000080:
  49. 00000080  243C 0000 000D           move.l     D2, 0xD /* '\r' */
  50. 00000086  6006                     bra        +0x8 /* 0000008E */
  51. label00000088:
  52. 00000088  243C 0000 0005           move.l     D2, 0x5
  53. label0000008E:
  54. 0000008E  4E5C                     unlink     A4
  55. 00000090  7000                     moveq.l    D0, 0x00
  56. 00000092  4EAD 0042                jsr        [A5 + 0x42 /* export_4 */]
  57.